#define  _CRT_SECURE_NO_WARNINGS 1
#include "list.h"

void Lise1()
{
	LTNode* plist = LTInit();
	LTPushfront(plist, 1);
	LTPushfront(plist, 2);
	LTPushfront(plist, 3);
	LTPushfront(plist, 4);
	LTPushfront(plist, 5);
	LTPushback(plist, 7);
	LTNode* cur = LTfind(plist, 3);
	if (cur)
	{
		LTErase(cur);
		cur = NULL;
	}

	
	LTPrint(plist);


	BuyListNode(plist);
	plist = NULL;


	
}


int main()
{
	Lise1();

	return 0;
}